package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 班级管理对象 CLASS
 * 
 * @author ruoyi
 * @date 2021-11-08
 */
public class CLASS extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 班级id */
    private String classId;

    /** 班级名字 */
    @Excel(name = "班级名字")
    private String className;

    /** 年级 */
    @Excel(name = "年级")
    private String classGrade;

    /** 班主任 */
    @Excel(name = "班主任")
    private String classTeacher;

    /** 班级类型 */
    @Excel(name = "班级类型")
    private String classType;

    /** 班级状态 */
    @Excel(name = "班级状态")
    private String classState;

    /** 班级学科（例如 开发测试） */
    @Excel(name = "班级学科", readConverterExp = "例=如,开=发测试")
    private String classSubject;

    /** 开班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date classTime;

    public void setClassId(String classId) 
    {
        this.classId = classId;
    }

    public String getClassId() 
    {
        return classId;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setClassGrade(String classGrade) 
    {
        this.classGrade = classGrade;
    }

    public String getClassGrade() 
    {
        return classGrade;
    }
    public void setClassTeacher(String classTeacher) 
    {
        this.classTeacher = classTeacher;
    }

    public String getClassTeacher() 
    {
        return classTeacher;
    }
    public void setClassType(String classType) 
    {
        this.classType = classType;
    }

    public String getClassType() 
    {
        return classType;
    }
    public void setClassState(String classState) 
    {
        this.classState = classState;
    }

    public String getClassState() 
    {
        return classState;
    }
    public void setClassSubject(String classSubject) 
    {
        this.classSubject = classSubject;
    }

    public String getClassSubject() 
    {
        return classSubject;
    }
    public void setClassTime(Date classTime) 
    {
        this.classTime = classTime;
    }

    public Date getClassTime() 
    {
        return classTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("className", getClassName())
            .append("classGrade", getClassGrade())
            .append("classTeacher", getClassTeacher())
            .append("classType", getClassType())
            .append("classState", getClassState())
            .append("classSubject", getClassSubject())
            .append("classTime", getClassTime())
            .toString();
    }
}
